﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TT.Runtime.Type
{
    //object 是否要整一些基类型，比如ToString()?既然是脚本语言不要了
    public class Object : IType
    {
        public virtual string name => "object";
        public string libname => "";
        public bool isClass => true;

        public bool isInterface => false;
        public bool isExport => true;

        public IType basetype => null;

        public IType[] _interface => null;

        public IField[] fields => null;

        public IMethod[] Methods => null;

    }
    public interface IUserType : IType
    {//用户定义的类型，只有struct 和 class 可以用户定义
        TTLib lib
        {
            get;
        }
    }
    public interface IUserData : IType
    {

    }
}
